package com.ruoyi.gbase.domain;

import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 下发基础表对象 JOB_INFO
 * 
 * @author yys
 * @date 2020-10-27
 */
public class TableInfo extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键id */
    private String jobId;

    /** 任务名 */
    @Excel(name = "任务名")
    private String jobName;

    /** 表名 */
    @Excel(name = "表名")
    private String tableName;

    /** 模式名 */
    @Excel(name = "模式名")
    private String schemaName;

    /** 文件路径 */
    @Excel(name = "文件路径")
    private String dataFilePath;

    /** 任务id */
    private String taskId;

    /** 任务名称 */
    private String taskName;

    /** 数据日期 */
    @Excel(name = "数据日期")
    private String etlDate;



    /** 最近修改时间 */
    private String lastUpdateTime;

    /** 表类型 */
    @Excel(name = "表类型")
    private String sendCondition;

    /** 批量补发 */
    @Excel(name = "批量补发")
    private String dataSendFlag;

    /** MISFIREPOLICY */
    private String jobMisfirepolicy;

    /** CRON表达式 */
    @Excel(name = "CRON表达式")
    private String jobCronExpression;

    /** 入库开始时间 */
    @Excel(name = "入库开始时间")
    private String setupTime;

    /** 入库完成时间 */
    @Excel(name = "入库完成时间")
    private String completedTime;

    /** 任务状态 */
    @Excel(name = "任务状态")
    private Integer jobRunStatus;

    /** 重跑次数 */
    @Excel(name = "重跑次数")
    private Integer jobReworkCount;

    /** log备注 */
    private String jobLogInfo;

    /** 备注2 */
    private String jobExceptionInfo;

    /** 文件发送时间 */
    @Excel(name = "文件发送时间")
    private String sendFileTime;

    /** 表是否有调整 */
    @Excel(name = "表是否有调整")
    private String tableChangeFlag;

    /** 重组脚本 */
    @Excel(name = "重组脚本")
    private String alterScriptInfo;

    /** 入库脚本 */
    @Excel(name = "入库脚本")
    private String loadScriptInfo;

    /** 备注 */
    @Excel(name = "备注")
    private String remark;

    /** 额外字段1 */
    private String ext1;

    /** 额外字段2 */
    private String ext2;

    /** 额外字段3 */
    private String ext3;

    public String getJobId() {
        return jobId;
    }

    public void setJobId(String jobId) {
        this.jobId = jobId;
    }

    public String getJobName() {
        return jobName;
    }

    public void setJobName(String jobName) {
        this.jobName = jobName;
    }

    public String getTableName() {
        return tableName;
    }

    public void setTableName(String tableName) {
        this.tableName = tableName;
    }

    public String getSchemaName() {
        return schemaName;
    }

    public void setSchemaName(String schemaName) {
        this.schemaName = schemaName;
    }

    public String getDataFilePath() {
        return dataFilePath;
    }

    public void setDataFilePath(String dataFilePath) {
        this.dataFilePath = dataFilePath;
    }

    public String getTaskId() {
        return taskId;
    }

    public void setTaskId(String taskId) {
        this.taskId = taskId;
    }

    public String getTaskName() {
        return taskName;
    }

    public void setTaskName(String taskName) {
        this.taskName = taskName;
    }

    public String getEtlDate() {
        return etlDate;
    }

    public void setEtlDate(String etlDate) {
        this.etlDate = etlDate;
    }

    public String getLastUpdateTime() {
        return lastUpdateTime;
    }

    public void setLastUpdateTime(String lastUpdateTime) {
        this.lastUpdateTime = lastUpdateTime;
    }

    public String getSendCondition() {
        return sendCondition;
    }

    public void setSendCondition(String sendCondition) {
        this.sendCondition = sendCondition;
    }

    public String getDataSendFlag() {
        return dataSendFlag;
    }

    public void setDataSendFlag(String dataSendFlag) {
        this.dataSendFlag = dataSendFlag;
    }

    public String getJobMisfirepolicy() {
        return jobMisfirepolicy;
    }

    public void setJobMisfirepolicy(String jobMisfirepolicy) {
        this.jobMisfirepolicy = jobMisfirepolicy;
    }

    public String getJobCronExpression() {
        return jobCronExpression;
    }

    public void setJobCronExpression(String jobCronExpression) {
        this.jobCronExpression = jobCronExpression;
    }

    public String getSetupTime() {
        return setupTime;
    }

    public void setSetupTime(String setupTime) {
        this.setupTime = setupTime;
    }

    public String getCompletedTime() {
        return completedTime;
    }

    public void setCompletedTime(String completedTime) {
        this.completedTime = completedTime;
    }

    public Integer getJobRunStatus() {
        return jobRunStatus;
    }

    public void setJobRunStatus(Integer jobRunStatus) {
        this.jobRunStatus = jobRunStatus;
    }

    public Integer getJobReworkCount() {
        return jobReworkCount;
    }

    public void setJobReworkCount(Integer jobReworkCount) {
        this.jobReworkCount = jobReworkCount;
    }

    public String getJobLogInfo() {
        return jobLogInfo;
    }

    public void setJobLogInfo(String jobLogInfo) {
        this.jobLogInfo = jobLogInfo;
    }

    public String getJobExceptionInfo() {
        return jobExceptionInfo;
    }

    public void setJobExceptionInfo(String jobExceptionInfo) {
        this.jobExceptionInfo = jobExceptionInfo;
    }

    public String getSendFileTime() {
        return sendFileTime;
    }

    public void setSendFileTime(String sendFileTime) {
        this.sendFileTime = sendFileTime;
    }

    public String getTableChangeFlag() {
        return tableChangeFlag;
    }

    public void setTableChangeFlag(String tableChangeFlag) {
        this.tableChangeFlag = tableChangeFlag;
    }

    public String getAlterScriptInfo() {
        return alterScriptInfo;
    }

    public void setAlterScriptInfo(String alterScriptInfo) {
        this.alterScriptInfo = alterScriptInfo;
    }

    public String getLoadScriptInfo() {
        return loadScriptInfo;
    }

    public void setLoadScriptInfo(String loadScriptInfo) {
        this.loadScriptInfo = loadScriptInfo;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public String getExt1() {
        return ext1;
    }

    public void setExt1(String ext1) {
        this.ext1 = ext1;
    }

    public String getExt2() {
        return ext2;
    }

    public void setExt2(String ext2) {
        this.ext2 = ext2;
    }

    public String getExt3() {
        return ext3;
    }

    public void setExt3(String ext3) {
        this.ext3 = ext3;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
            .append("jobId", getJobId())
            .append("jobName", getJobName())
            .append("tableName", getTableName())
            .append("schemaName", getSchemaName())
            .append("dataFilePath", getDataFilePath())
            .append("taskId", getTaskId())
            .append("taskName", getTaskName())
            .append("etlDate", getEtlDate())
            .append("createTime", getCreateTime())
            .append("lastUpdateTime", getLastUpdateTime())
            .append("sendCondition", getSendCondition())
            .append("dataSendFlag", getDataSendFlag())
            .append("jobMisfirepolicy", getJobMisfirepolicy())
            .append("jobCronExpression", getJobCronExpression())
            .append("setupTime", getSetupTime())
            .append("completedTime", getCompletedTime())
            .append("jobRunStatus", getJobRunStatus())
            .append("jobReworkCount", getJobReworkCount())
            .append("jobLogInfo", getJobLogInfo())
            .append("jobExceptionInfo", getJobExceptionInfo())
            .append("sendFileTime", getSendFileTime())
            .append("tableChangeFlag", getTableChangeFlag())
            .append("alterScriptInfo", getAlterScriptInfo())
            .append("loadScriptInfo", getLoadScriptInfo())
            .append("remark", getRemark())
            .append("ext1", getExt1())
            .append("ext2", getExt2())
            .append("ext3", getExt3())
            .toString();
    }
}
